package cn.itcast.bos.service.base.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.itcast.bos.dao.base.TakeTimesRepository;
import cn.itcast.bos.domain.base.TakeTime;
import cn.itcast.bos.service.base.TakeTimeService;

@Service
public class TakeTimesServiceImpl implements TakeTimeService {

	@Autowired
	private TakeTimesRepository takeTimesRepository;
	
	@Override
	public List<TakeTime> takeAllTimes() {
		
		return takeTimesRepository.findAll();
	}

}
